package sk.tuke.constraintbuilder.builder.resourcemodel;

/**
 * Created by IntelliJ IDEA.
 * User: Brano
 * Date: 16.4.2011
 * Time: 21:34
 */
public class ExtendsElement extends Element {
    private String extendedType;

    public ExtendsElement(String extendedType) {
        this.extendedType = extendedType;
    }

    @Override
    public String generateXML() {
        return "<extends"+ addXMLAttr("name", extendedType) + "/>";
    }
}
